@extends('personal.index')
@section('content')
@section('title','商品评价')
<style class="firebugResetStyles" type="text/css" charset="utf-8">
/*<![CDATA[*/
  /* See license.txt for terms of usage */
  /** reset styling **/
  .firebugResetStyles {
    z-index: 2147483646 !important;
    top: 0 !important;
    left: 0 !important;
    display: block !important;
    border: 0 none !important;
    margin: 0 !important;
    padding: 0 !important;
    outline: 0 !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 0 !important;
    max-height: none !important;
    position: fixed !important;
    transform: rotate(0deg) !important;
    transform-origin: 50% 50% !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent none !important;
    pointer-events: none !important;
    white-space: normal !important;
  }
  style.firebugResetStyles {
    display: none !important;
  }

  .firebugBlockBackgroundColor {
    background-color: transparent !important;
  }

  .firebugResetStyles:before, .firebugResetStyles:after {
    content: "" !important;
  }
  /**actual styling to be modified by firebug theme**/
  .firebugCanvas {
    display: none !important;
  }

  /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
  .firebugLayoutBox {
    width: auto !important;
    position: static !important;
  }

  .firebugLayoutBoxOffset {
    opacity: 0.8 !important;
    position: fixed !important;
  }

  .firebugLayoutLine {
    opacity: 0.4 !important;
    background-color: #000000 !important;
  }

  .firebugLayoutLineLeft, .firebugLayoutLineRight {
    width: 1px !important;
    height: 100% !important;
  }

  .firebugLayoutLineTop, .firebugLayoutLineBottom {
    width: 100% !important;
    height: 1px !important;
  }

  .firebugLayoutLineTop {
    margin-top: -1px !important;
    border-top: 1px solid #999999 !important;
  }

  .firebugLayoutLineRight {
    border-right: 1px solid #999999 !important;
  }

  .firebugLayoutLineBottom {
    border-bottom: 1px solid #999999 !important;
  }

  .firebugLayoutLineLeft {
    margin-left: -1px !important;
    border-left: 1px solid #999999 !important;
  }

  /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
  .firebugLayoutBoxParent {
    border-top: 0 none !important;
    border-right: 1px dashed #E00 !important;
    border-bottom: 1px dashed #E00 !important;
    border-left: 0 none !important;
    position: fixed !important;
    width: auto !important;
  }

  .firebugRuler{
    position: absolute !important;
  }

  .firebugRulerH {
    top: -15px !important;
    left: 0 !important;
    width: 100% !important;
    height: 14px !important;
    background: url("#") repeat-x !important;
    border-top: 1px solid #BBBBBB !important;
    border-right: 1px dashed #BBBBBB !important;
    border-bottom: 1px solid #000000 !important;
  }

  .firebugRulerV {
    top: 0 !important;
    left: -15px !important;
    width: 14px !important;
    height: 100% !important;
    background: url("#") repeat-y !important;
    border-left: 1px solid #BBBBBB !important;
    border-right: 1px solid #000000 !important;
    border-bottom: 1px dashed #BBBBBB !important;
  }

  .overflowRulerX > .firebugRulerV {
    left: 0 !important;
  }

  .overflowRulerY > .firebugRulerH {
    top: 0 !important;
  }

  /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
  .fbProxyElement {
    position: fixed !important;
    pointer-events: auto !important;
  }
  /*]]>*/
  </style>

<div class="breadcrumbs">
    <div class="container ">
        <a href="#">首页</a><span class="sep">&gt;</span><a href="#">配件</a><span class="sep">&gt;</span><a href="#">手机</a><span class="sep">&gt;</span><a href="#">小米手机5 全网通高配版 黑色</a>    
    </div>
</div>

<div class="goods-comment-detail">

    <div class="container">
        <div class="row">
       
          @if (session('success'))
            <!-- <input type="hidden" name='hfcg' value="{{ session('success') }}"> -->
        <script type="text/javascript">
              // var res1 = $('input[name=hfcg]').val();
              alert('回复成功');
            </script>
      @endif
      @if (session('error'))
        <script type="text/javascript">
              alert('回复错误');
            </script>
      @endif
        

          

            <div class="span14 goods-comment-detail-info-block">
              
                <div data-id="135606111" id="J_commentDetailBlock" class="goods-comment-detail-info">
                    <div class="user-image"> 
                        <img alt="" src="#"> 
                    </div>
                    <div class="user-emoj"> 
                        超爱<i class="iconfont"></i> 
                    </div>
                    <div class="user-name-info"> 
                        <span class="user-name">{{$miaoshu}}</span>                    
                        <span class="user-time">¥{{$price}}</span> 
                        <span class="pro-info">{{$proname}}</span> 
                    </div>
                    <div class="user-hand-block"> 
                        
                    </div>
                    <dl class="user-comment"> 
                        
                        <dt class="user-comment-content J_commentContent">

                            
                            
                        </dt>
            
                        <dd class="user-comment-answer">

                          

                         
                        </dd>
                      
                        <!-- <dt class="user-comment-content J_commentContent">
                           
                            <p class="content-detail"> </p>
                            
                        </dt> -->
                        
                        <dd class="user-comment-self-input showIn">
                            <div class="input-block">
                              <form action="{{url('/personal/gocomment')}}" method='post'>
                                {{csrf_field()}}
                                  <input type="text" name='content' class="J_commentAnswerInput" placeholder="添加评价"> 
                                  <input type="hidden" name='gid' value="{{$gid}}">
                                  <input type="hidden" name='order_id' value='{{$order_id}}'>
                                  <input type="submit" class="btn  answer-btn J_commentAnswerBtn" value='评价　'>
                              </form>
                            </div>
                        </dd>
                        
                        
                    </dl>
                </div>                  
          </div>
      

      
            <div class="span6 goods-detail-info-block">
                <div class="goods-detail-info">
                   <div class="goods-img-block">
                        <a href="{{url('/home/default',[$gid])}}" target="_blank">
                            <img alt="" class="J_cartBigImg" src="{{$image}}">
                        </a>
                   </div>
                   <div class="goods-name J_cartGoodsName">{{$proname}}</div>
                   <div class="goods-price">
                      <b>{{$price}}</b><i>&nbsp;元</i>
                   </div>
                </div>
      
                <div id="J_cartBtnBlock" class="goods-cart-btn-block "> 
                  <a class="btn  btn-primary goods-add-cart-btn" id="goodsDetailAddCartBtn" href="{{url('/home/default',[$gid])}}"> <i class="iconfont "></i>查看商品详情</a>
                </div>

            </div>
      
            
        </div>
    </div>
</div>
@endsection